package cn.java59;

import java.util.Scanner;

public class Homework7 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		System.out.println("输入一个整数：");
		int num = sc.nextInt();
		if (num % 2 == 0) {
			System.out.println("这个数是偶数");
		} else {
			System.out.println("这个数是奇数");
		}
	}
}
